package com.gfzhuo.psi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gfzhuo.common.annotation.Excel;
import com.gfzhuo.common.core.domain.BaseEntity;

/**
 * 商品类型对象 psi_goods_type
 * 
 * @author ruoyi
 * @date 2024-07-25
 */
public class PsiGoodsType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 父类 */
    @Excel(name = "父类")
    private String parentCode;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String name;

    /** 类型编码 */
    @Excel(name = "类型编码")
    private String code;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setParentCode(String parentCode) 
    {
        this.parentCode = parentCode;
    }

    public String getParentCode() 
    {
        return parentCode;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentCode", getParentCode())
            .append("name", getName())
            .append("code", getCode())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
